﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControls_Category : System.Web.UI.UserControl
{

    public int pages { get; set; }
    public int id;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (pages == null)
            pages = 1;
        
        if(Request.QueryString["Id"]== null)
            id = 20;
        else
            id = Convert.ToInt32(Request.QueryString["Id"]);
    }
}